package org.rendao.biz.model;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import org.rendao.jaxb.dapter.DefaultDateTimeAdapter;

@XmlRootElement(name = "questionCriteria")
@XmlAccessorType(XmlAccessType.FIELD)
public class QuestionCriteria {

	@XmlElement
	private String questionId;
	
	@XmlElement
	private String firstIndexId;
	
	@XmlElement
	private String secondIndexId;
	
	@XmlElement
	private String userId;
	
	@XmlElement
	@XmlJavaTypeAdapter(DefaultDateTimeAdapter.class)
	private Date receiveDateFrom;
	
	@XmlElement
	@XmlJavaTypeAdapter(DefaultDateTimeAdapter.class)
	private Date receiveDateTo;
	
	@XmlElement
	private String fuzzyKeyword;
	
	@XmlElement
	private String status;

	public String getQuestionId() {
		return questionId;
	}

	public void setQuestionId(String questionId) {
		this.questionId = questionId;
	}

	public String getFirstIndexId() {
		return firstIndexId;
	}

	public void setFirstIndexId(String firstIndexId) {
		this.firstIndexId = firstIndexId;
	}

	public String getSecondIndexId() {
		return secondIndexId;
	}

	public void setSecondIndexId(String secondIndexId) {
		this.secondIndexId = secondIndexId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Date getReceiveDateFrom() {
		return receiveDateFrom;
	}

	public void setReceiveDateFrom(Date receiveDateFrom) {
		this.receiveDateFrom = receiveDateFrom;
	}

	public Date getReceiveDateTo() {
		return receiveDateTo;
	}

	public void setReceiveDateTo(Date receiveDateTo) {
		this.receiveDateTo = receiveDateTo;
	}

	public String getFuzzyKeyword() {
		return fuzzyKeyword;
	}

	public void setFuzzyKeyword(String fuzzyKeyword) {
		this.fuzzyKeyword = fuzzyKeyword;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
}
